import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入vant
import Vant from 'vant'
import 'vant/lib/index.css'
import 'amfe-flexible'
import 'normalize.css'
import './assets/styles/comm.css'
import componentJs from '@/components/index'
import '@/assets/styles/var.less'
import filtersObj from '@/filters/index'

Object.keys(filtersObj).forEach(item => {
  Vue.filter(item, filtersObj[item])
})

Vue.use(componentJs, 123)
Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
